summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/edp-progress/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/[lng]/evcp/(evcp)/edp-progress/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/edp-progress/page.tsx21
1 files changed, 3 insertions, 18 deletions
diff --git a/app/[lng]/evcp/(evcp)/edp-progress/page.tsx b/app/[lng]/evcp/(evcp)/edp-progress/page.tsx
index 12e14b98..7edc52c9 100644
--- a/app/[lng]/evcp/(evcp)/edp-progress/page.tsx
+++ b/app/[lng]/evcp/(evcp)/edp-progress/page.tsx
@@ -1,27 +1,12 @@
import * as React from "react"
-import { type SearchParams } from "@/types/table"
-import { getValidFilters } from "@/lib/data-table"
import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"
-import { EDPProgressTable } from "@/lib/edp-progress/table/edp-progress-table"
-import { getEDPProgressLists } from "@/lib/edp-progress/service"
import { Shell } from "@/components/shell"
import { InformationButton } from "@/components/information/information-button"
-import { searchParamsCache } from "@/lib/edp-progress/validations"
+import { VendorFormStatusTable } from "@/components/form-data-stat/form-data-stat-table"
-interface IndexPageProps {
- searchParams: Promise<SearchParams>
-}
-
-export default async function IndexPage(props: IndexPageProps) {
- const searchParams = await props.searchParams
- const search = searchParamsCache.parse(searchParams)
-
- const validFilters = getValidFilters(search.filters)
- const promises = Promise.all([
- getEDPProgressLists({ filters: validFilters, sort: search.sort, search: search.search, joinOperator: search.joinOperator as any }),
- ])
+export default async function IndexPage() {
return (
<Shell className="gap-2">
@@ -43,7 +28,7 @@ export default async function IndexPage(props: IndexPageProps) {
/>
}
>
- <EDPProgressTable promises={promises} />
+ <VendorFormStatusTable />
</React.Suspense>
</Shell>
)